package com.lagou.enums;

/**
 * @author songjy
 */
public enum OperateEnum {
    /**
     * 查询
     */
    SELECT("select", "查询"),
    /**
     * 添加
     */
    INSERT("insert", "添加"),
    /**
     * 修改
     */
    UPDATE("update", "修改"),
    /**
     * 删除
     */
    DELETE("DELETE", "删除");

    private final String type;
    private final String name;

    OperateEnum(String type, String name) {
        this.type = type;
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}
